package patrol.mobile.com.mobilepatrol.bean;


import com.lzy.imagepicker.bean.ImageItem;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MingxiMoBanBean implements Serializable {

    /**
     * list : [{"id":"100","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"收费亭","equipmentOrder":"1","equipmentName":"亭内摄像机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"101","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"收费亭","equipmentOrder":"2","equipmentName":"亭内对讲机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"102","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"收费亭","equipmentOrder":"3","equipmentName":"收费主机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"103","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"收费亭","equipmentOrder":"4","equipmentName":"显示器","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"104","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"收费亭","equipmentOrder":"5","equipmentName":"票据打印机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"105","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"收费亭","equipmentOrder":"6","equipmentName":"报警器","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"106","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"收费亭","equipmentOrder":"7","equipmentName":"空调","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"201","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"车道","equipmentOrder":"8","equipmentName":"栏杆机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"202","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"车道","equipmentOrder":"9","equipmentName":"费额显示器","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"203","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"车道","equipmentOrder":"10","equipmentName":"车道摄像机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"204","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"车道","equipmentOrder":"11","equipmentName":"顶棚信号灯","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"205","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"车道","equipmentOrder":"12","equipmentName":"秤台、光栅","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"300","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"13","equipmentName":"收费监控计算机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"301","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"14","equipmentName":"收费报表计算机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"302","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"15","equipmentName":"图片查询计算机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"303","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"16","equipmentName":"视频监控计算机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"304","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"17","equipmentName":"硬盘录像机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"305","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"18","equipmentName":"主监视器","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"306","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"19","equipmentName":"矩阵键盘","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"307","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"20","equipmentName":"监视墙","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"308","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"监控室","equipmentOrder":"21","equipmentName":"空调","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"400","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"机房","equipmentOrder":"22","equipmentName":"通信传输","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"401","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"机房","equipmentOrder":"23","equipmentName":"通信电源","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"402","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"机房","equipmentOrder":"24","equipmentName":"视频编解码器","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"403","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"机房","equipmentOrder":"25","equipmentName":"视频光端机","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""},{"id":"404","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","elefailinsprec":{"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]},"position":"机房","equipmentOrder":"26","equipmentName":"空调","date":"","equipmentStatus":"0","faultSituation":"","maintenanceLog":"","maintenanceRecord":""}]
     * rows : 26
     */

    private int rows;
    private List<ListBean> list;
    private List<ParentBean> parentBeanList;

    public List<ParentBean> getParentBeanList() {
        return parentBeanList;
    }

    public void setParentBeanList(List<ParentBean> parentBeanList) {
        this.parentBeanList = parentBeanList;
    }
    public static class ParentBean implements Serializable {
        /**
         * proLarge : 遵守纪律
         * listbean
         */
        String proLarge;
        List<ListBean> childList;

        public String getProLarge() {
            return proLarge;
        }

        public void setProLarge(String proLarge) {
            this.proLarge = proLarge;
        }

        public List<ListBean> getChildList() {
            return childList;
        }

        public void setChildList(List<ListBean> childList) {
            this.childList = childList;
        }
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable {
        /**
         * id : 100
         * isNewRecord : false
         * remarks :
         * createDate :
         * updateDate :
         * elefailinsprec : {"id":"-1","isNewRecord":false,"remarks":"","createDate":"","updateDate":"","org":"","orgId":"","account":"","userId":"","date":"","jiankkElefailinsprecDivList":[]}
         * position : 收费亭
         * equipmentOrder : 1
         * equipmentName : 亭内摄像机
         * date :
         * equipmentStatus : 0
         * faultSituation :
         * maintenanceLog :
         * maintenanceRecord :
         */
        List<ImageItem> images;
        private String shitiId;
        private String id;
        private boolean isNewRecord;
        private String remarks;
        private String createDate;
        private String updateDate;
        private ElefailinsprecBean elefailinsprec;
        private String position;
        private String equipmentOrder;
        private String equipmentName;
        private String date;
        private String equipmentStatus;
        private String faultSituation;
        private String maintenanceLog;
        private String maintenanceRecord;

        public String getShitiId() {
            return shitiId;
        }

        public void setShitiId(String shitiId) {
            this.shitiId = shitiId;
        }

        public List<ImageItem> getImages() {
            if (images == null) {
                images = new ArrayList<>();
            }
            return images;
        }

        public void setImages(List<ImageItem> images) {
            this.images = images;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public ElefailinsprecBean getElefailinsprec() {
            return elefailinsprec;
        }

        public void setElefailinsprec(ElefailinsprecBean elefailinsprec) {
            this.elefailinsprec = elefailinsprec;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getEquipmentOrder() {
            return equipmentOrder;
        }

        public void setEquipmentOrder(String equipmentOrder) {
            this.equipmentOrder = equipmentOrder;
        }

        public String getEquipmentName() {
            return equipmentName;
        }

        public void setEquipmentName(String equipmentName) {
            this.equipmentName = equipmentName;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getEquipmentStatus() {
            return equipmentStatus;
        }

        public String getEquipmentStatusText() {
            if (equipmentStatus.equals("0")||equipmentStatus.equals("正常")) {
                return "正常";
            } else {
                return "故障";
            }
        }

        public void setEquipmentStatus(String equipmentStatus) {
            this.equipmentStatus = equipmentStatus;
        }

        public String getFaultSituation() {
            return faultSituation;
        }

        public void setFaultSituation(String faultSituation) {
            this.faultSituation = faultSituation;
        }

        public String getMaintenanceLog() {
            return maintenanceLog;
        }

        public void setMaintenanceLog(String maintenanceLog) {
            this.maintenanceLog = maintenanceLog;
        }

        public String getMaintenanceRecord() {
            return maintenanceRecord;
        }

        public void setMaintenanceRecord(String maintenanceRecord) {
            this.maintenanceRecord = maintenanceRecord;
        }

        public static class ElefailinsprecBean implements Serializable {
            /**
             * id : -1
             * isNewRecord : false
             * remarks :
             * createDate :
             * updateDate :
             * org :
             * orgId :
             * account :
             * userId :
             * date :
             * jiankkElefailinsprecDivList : []
             */

            private String id;
            private boolean isNewRecord;
            private String remarks;
            private String createDate;
            private String updateDate;
            private String org;
            private String orgId;
            private String account;
            private String userId;
            private String date;
            private List<?> jiankkElefailinsprecDivList;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getRemarks() {
                return remarks;
            }

            public void setRemarks(String remarks) {
                this.remarks = remarks;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(String updateDate) {
                this.updateDate = updateDate;
            }

            public String getOrg() {
                return org;
            }

            public void setOrg(String org) {
                this.org = org;
            }

            public String getOrgId() {
                return orgId;
            }

            public void setOrgId(String orgId) {
                this.orgId = orgId;
            }

            public String getAccount() {
                return account;
            }

            public void setAccount(String account) {
                this.account = account;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public List<?> getJiankkElefailinsprecDivList() {
                return jiankkElefailinsprecDivList;
            }

            public void setJiankkElefailinsprecDivList(List<?> jiankkElefailinsprecDivList) {
                this.jiankkElefailinsprecDivList = jiankkElefailinsprecDivList;
            }
        }
    }
}



